package com.xaicode.template.druid.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author xiachangjian <xiachangjian@sataero.cn>
 * @date 2023/2/20
 * @since v2.0.1
 */
@Data
@Table(name = "sys_user")
@Entity
public class User {

    @Id
    private String id;

    @Column(columnDefinition = "varchar(32)")
    private String name;

}
